Xen: fix various checks of unsigned integers < 0
authorKeir Fraser <keir@xen.org>
Fri, 29 Oct 2010 17:05:50 +0000 (18:05 +0100)
committerKeir Fraser <keir@xen.org>
Fri, 29 Oct 2010 17:05:50 +0000 (18:05 +0100)
commit5100a5ede1a200a2831f0b357fb474b853f8c83f
tree179b84e20f46a09cf19007e46e9cd850e5720618
parent9bbfbb147798c91c4f4c6f0b947ca62a7ae8b89a
Xen: fix various checks of unsigned integers < 0

Some of these could be benignly discarded by the compiler but some are
actual bugs.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/mm.c
xen/arch/x86/physdev.c
xen/arch/x86/platform_hypercall.c
xen/arch/x86/x86_emulate/x86_emulate.c
xen/drivers/cpufreq/cpufreq.c